Monday, May 08, 2006

This article is taken from http://www.rfc-editor.org/

WHAT are RFCs ?

The Request for Comments (RFCs)

The Requests for Comments (RFC) document series is a set of technical and organizational notes about the Internet (originally the ARPANET), beginning in 1969. Memos in the RFC series discuss many aspects of computer networking, including protocols, procedures, programs, and concepts, as well as meeting notes, opinions, and sometimes humor. For more information on the history of the RFC series, see "30 years of RFCs".

The official specification documents of the Internet Protocol suite that are defined by the Internet Engineering Task Force (IETF) and the Internet Engineering Steering Group (IESG ) are recorded and published as standards track RFCs. As a result, the RFC publication process plays an important role in the Internet standards process. In addition, the RFC Editor publishes as independent submissions some RFCs that are outside the IETF process but are relevant to the Internet community. RFCs must first be published as Internet Drafts.

Monday, February 13, 2006

RegExp for Matching Non Alphanumric Characters

Hey friends,

This Function check any nonaplhanumric characters including spaces if string is valid then it will return 0 else it will return 1.


function fnValidateAlphNumricChars($string)
{
return preg_match("/[`_~!@#$%&,.:;'<>{}()=\/\"\/\*\/\-\/\^\/\+\/\|\/\/ ]/", $string);
}

$string = "121ERERewerr21121212";
print fnValidateAlphNumricChars($string);
OutPut = 0 #VALID STRING

$string = "121E RE $ Rewerr21121212";
print fnValidateAlphNumricChars($string);
OutPut = 1 #INVALID STRING

?>